package org.naxx.security.parser.validation;

import java.io.File;
import java.io.InputStream;

/**
 * Validates XML fragment against XACML policy and/or
 * context schemas.
 */
public interface SchemaValidator {

	public void validate(InputStream xmlStream) throws Exception;
	
	public void validate(File file) throws Exception;
}
